body {
    position: relative;
    min-height: 99vh;
    background: var(--vt-c-bg);
    color: var(--vt-c-text-1);
}

.editor-container {
    width: 80%;
    margin: 20px auto;
    border: 1px solid;
    border-color: var(--vt-c-border-1);
}

#editor-container-main {
    padding: 10px;
    border-top: 1px solid;
    border-color: var(--vt-c-border-1);
    height: calc(100vh - 200px);
    overflow: auto;
    font-family: "Lucida Console", Arial, sans-serif;
    font-size: 14px;
}

#editor-container-main:focus-visible {
    outline: none;
}
#editor-container-main p {
    margin: 0px 0px 16px;
    line-height: 26px;
    min-height: 26px;
}

.editor-container-toolbar {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.editor-container-toolbar-item {
    transition: all .5s;
    font-size: 14px;
    display: inline-block;
    padding: 4px 5px;

}

/* 用于遮盖.select-flyout空隙处 */
.editor-container-toolbar-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -10px;
    left: 0px;
    display: none;
}

.editor-container-toolbar-item:hover {
    cursor: pointer;
    background: var(--vt-c-border-1);
}

.select-box.editor-container-toolbar-item:hover.editor-container-toolbar-item::after {
    display: block;
}

.editor-container-toolbar-item .select-flyout {
    top: 32px !important;
    right: -8px !important;
    border-radius: 0px !important;
    box-shadow: 0 2px 5px 2px #0000001a !important;
    padding: 5px !important;
}

.editor-container-toolbar-item .select-flyout .select-box-text:hover {
    background: #efefef;
}

.editor-container-toolbar-item .vt-flyout-button-text-icon {
    margin-bottom: -3px;
}

.editor-container-toolbar-separator {
    background: #eaeaea;
    width: 1px;
    height: 16px;
    margin: 5px 10px 0px;
}

.color-container {
    display: flex;
    gap: 1px;
}

.color-container-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.color-item {
    display: inline-block;
    width: 22px;
    height: 22px;
    padding: 0px;
    border: 1px solid transparent;
}
.common-colors{
    gap: 1px
}
.common-colors-tips{
    padding: 5px 0px;
}
.color-item:hover{
    cursor: pointer;
    border: 1px solid var(--vt-c-border-1);
}
.editor-container-toolbar-item .color-flyout{
    right: -100px!important;
}
#is-empty::before{
    color: #adb5bd;
    content: attr(data-placeholder);
    float: left;
    height: 0;
    pointer-events: none;
}